////#include <iostream>
////using namespace std;
////class Time
////{
////public:
////	Time(int hour = 12, int minute = 52)
////	{
////		_hour = hour;
////		_minute = minute;
////	}
////		Time(const Time& t)
////	{   
////		_hour = t._hour;
////		_minute=t._minute;
////		cout << "time(const Time& t)";
////	}
////private:
////	int _hour;
////	int _minute;
////};
////class Date
////{
////public:
////	Date(int year = 2025, int month = 5, int day = 21)
////	{
////		_year = year;
////		_month = month;
////		_day = day;
////	}
////	/*Date(const Date& d)
////	{
////		_year = d._year;
////		_month = d._month;
////		_day = d._day;
////	}*/
////private:
////	int _year;
////	int _month;
////	int _day;
////	Time _t;
////};
////int main()
////{
////	Date d1;
////	Date d2(d1);
////	return 0;
////}
//#include <iostream>
//using namespace std;
//typedef int Typedate;
//class stack
//{
//public:
//	stack(int capacity = 4)
//	{
//		_a = (Typedate*)malloc(sizeof(int) * capacity);
//		_capacity = capacity;
//		_size = 0;
//	}
//	void stackpush(int x)
//	{
//		//Checkstack()
//		_a[_size] = x;
//		_size++;
//	}
//	~stack()
//	{
//		if (_a)
//		{
//			free(_a);
//			_a = nullptr;
//			_capacity = 0;
//			_size = 0;
//		}
//	}
//private:
//	Typedate* _a;
//	size_t _capacity;
//	size_t _size;
//};
//
//int main()
//{
//	stack s1;
//	s1.stackpush(2);
//	s1.stackpush(3);
//	s1.stackpush(5);
//	stack s2(s1);
//	return 0;
//}